package cn.q3c.stock.object;

import java.util.Date;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

/**
 * 股票基本数据
 * 
 * @author wangxinning
 * 
 */
public class StockInfo {

	public static final int SC_SHANGHAI = 1;
	public static final int SC_SHENZHEN = 2;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getExchange() {
		return exchange;
	}

	public void setExchange(String exchange) {
		this.exchange = exchange;
	}

	public Date getListDate() {
		return listDate;
	}

	public void setListDate(Date listDate) {
		this.listDate = listDate;
	}

	private Integer id;
	private String code;
	private String name;
	private String exchange;
	private Date listDate;

	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
}
